package com.mybed.crm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mybed.crm.pojo.dto.PageUserDto;
import com.mybed.crm.pojo.pojo.User;
import com.mybed.crm.pojo.pojo.UserDownLoad;
import com.mybed.crm.pojo.vo.UserInfoVo;
import com.mybed.crm.pojo.vo.UserVo;
import com.mybed.crm.result.PageResult;
import com.mybed.crm.result.Result;
import com.mybed.crm.result.UserResult;

import java.util.Collection;
import java.util.List;

public interface UserService extends IService<User> {
    UserInfoVo getInfo();

    Result listselect(Integer deptId);

    PageResult listUser(PageUserDto dto);

    List<UserDownLoad> selectUserDownload();

    UserResult updateUser(Integer id);

    void updateByUser(UserVo vo);
}
